package com.zzuli.fitness.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.fitness.entity.Coach;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CoachDao extends BaseMapper<Coach> {
    int deleteByPrimaryKey(Integer id);

    int insert(Coach record);

    int insertSelective(Coach record);

    Coach selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Coach record);

    int updateByPrimaryKey(Coach record);

    Coach selectByName(String name);
}